package com.guoheng.hazard.common.enums;

/**
 * 枚举功能描述:　重大危险源等级枚举
 *
 * @author fbl
 * @date 2019/10/16 7:58
 */
public enum MajorHazardGradeEnum {
    /**
     * 一级
     */
    HAZARD_TYPE_1(1, "一级"),

    /**
     *二级
     */
    HAZARD_TYPE_2(2, "二级"),

    /**
     *三级
     */
    HAZARD_TYPE_3(3, "三级"),

    /**
     *四级
     */
    HAZARD_TYPE_4(4, "四级");

    private Integer code;

    private String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    MajorHazardGradeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
